﻿using System;
using System.Collections.Generic;

namespace TallyBook.BLL.Service
{
    public interface IIncomeService<TEntity> where TEntity : class, new()
    {
        TEntity Get(long id);

        List<TEntity> GetAll();

        int Insert(long cbbincometypeid, long cbbaccounttypeid, long id, decimal money, string comment, DateTime time);


        int Delete(long entity);

        int Update(long incometypeid, long accountid, decimal money, string comment, DateTime time);
    }
}